import React, {Component} from 'react'
export default class BlogDetails extends React.Component {
  // 博客详情，用来显示文章内容、标题、时间等
  render(props) {
    return (<div>
      <h2 className="title">{this.props.title}</h2>
      <div>
        <span>发布时间：{this.props.time}</span>
        <p>{this.props.content}</p>
      </div>
    </div>)
  }
}